<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- 用户所有的项目 -->
<%@ include file="user_base.jsp" %>
<html>
<head>

<!-- <script src="/ScienceManagement/jquery/jquery-2.1.1.min.js"></script> -->
<!--   <link href="/ScienceManagement/bootstrap/css/bootstrap.css" type="text/css" rel="stylesheet"/> -->
<!--   <script src="/ScienceManagement/bootstrap/js/bootstrap.js"></script> -->
	
	<style>
		.c1{
			width: 70%;
			float: left;
		}

		.c2{
			width: 20%;
			float: right;
			
		}
	</style>
	

</head>
<body>

	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span8 ">
				<h1>
					<em><strong><span class="marker "><center>所有项目</center></span></strong></em>
				</h1>
				<table class="table table-hover table-bordered">
					<thead>
						<tr>
							<th>项目编号</th>
							<th>项目名称</th>
							<th>学科类别</th>
							<th>地区</th>
							<th>负责人</th>
							<th>时间</th>
							<th>经费</th>
							<th>状态</th>
						</tr>
					</thead>
					<tbody>
              <c:forEach items="${projectsList}" var="proj">
                 <tr>
                    <td>${proj.projectSerialNumber}</td><!-- EL表达式简单输出相关信息 -->
					<td>${proj.projectName}</td>
					<td>${proj.projectCategory}</td>
					<td>${proj.district}</td>
					<td>${proj.projectLeader}</td>
					<td>${proj.projectTime}</td>
					<td>${proj.projectExpenditure}</td>
					<td>${proj.projectStatus}</td>
                </tr>
              </c:forEach>
              </tbody>
				</table>
				<div>
					<nav aria-label="Page navigation">
						<ul class="pagination">
						  <li>
							<a href="#" aria-label="Previous">
							  <span aria-hidden="true">&laquo;</span>
							</a>
						  </li>
						  <li><a href="#">1</a></li>
						  <li><a href="#">2</a></li>
						  <li><a href="#">3</a></li>
						  <li><a href="#">4</a></li>
						  <li><a href="#">5</a></li>
						  <li>
							<a href="#" aria-label="Next">
							  <span aria-hidden="true">&raquo;</span>
							</a>
						  </li>
						</ul>
					  </nav>

				</div>


<!-- 			</div> -->
<!-- 			<div class="span4 c2"> -->
<!-- 				<form class="form-search"> -->
<!-- 					<input class="input-medium search-query" type="text" /><button class="btn" type="submit">查找项目</button> -->
<!-- 				</form> -->
<!-- 			</div> -->
<!-- 		</div> -->
	</div>
</body>